const router = require('koa-router')()
const Message = require('../controllers/message');

router.prefix('/message')

router.get('/', function (ctx, next) {
  ctx.body = 'this is a users response!'
})

router.get('/list', Message.list);
router.get('/linkmansLastMessage', Message.linkmansLastMessage);
router.get('/linkmanHistoryMessage', Message.linkmanHistoryMessage);

module.exports = router
